package com.ranjiaqi.date;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @ClassName TestDateFormat
 * @Description TODO
 * @Author hp
 * @Date 2021/6/21 21:08
 * @Version 1.0
 **/
public class TestDateFormat {
    public static void main(String[] args) {
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy年MM月dd日 HH点mm分ss秒");
        String str = simpleDateFormat.format(new Date());
        System.out.println("str = " + str);
    }
}
